EssentialBlocks\blocks\TableOfContents B

Total Complexity 80
Dependencies 2
Dependents 0
Total lines 360
Lines of code 245
Logical lines of code 167
Comment lines 67
Methods 9
Properties 4

Methods 9

Method Rating Maintainability Complexity Lines of code
render_callback()
D
29
40 103
getHeadingsFromHeadingElements()
A
47 10 36
getHeadersFromContent()
A
46 9 39
get_editor_type()
S
60 8 12
generate_toc()
S
52 7 24
parseTocSlug()
S
58 2 16
areAllFalse()
S
72 2 5
get_name()
S
82 1 3
register_scripts()
S
70 1 7